Conditions | 1 |
Paths | 1 |
Total Lines | 35 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | // Karma configuration file, see link for more information |
||
4 | module.exports = function (config) { |
||
5 | config.set({ |
||
6 | basePath: '', |
||
7 | frameworks: ['jasmine', 'angular-cli'], |
||
8 | plugins: [ |
||
9 | require('karma-jasmine'), |
||
10 | require('karma-chrome-launcher'), |
||
11 | require('karma-remap-istanbul'), |
||
12 | require('angular-cli/plugins/karma') |
||
13 | ], |
||
14 | files: [ |
||
15 | { pattern: './src/test.ts', watched: false } |
||
16 | ], |
||
17 | preprocessors: { |
||
18 | './src/test.ts': ['angular-cli'] |
||
19 | }, |
||
20 | remapIstanbulReporter: { |
||
21 | reports: { |
||
22 | html: 'coverage', |
||
23 | lcovonly: './coverage/coverage.lcov' |
||
24 | } |
||
25 | }, |
||
26 | angularCli: { |
||
27 | config: './angular-cli.json', |
||
28 | environment: 'dev' |
||
29 | }, |
||
30 | reporters: ['progress', 'karma-remap-istanbul'], |
||
31 | port: 9876, |
||
32 | colors: true, |
||
33 | logLevel: config.LOG_INFO, |
||
34 | autoWatch: true, |
||
35 | browsers: ['Chrome'], |
||
36 | singleRun: false |
||
37 | }); |
||
38 | }; |
||
39 |